Dec 10 2018
Factorial
def factorial(x):
"""Recursive factorial implementation"""
if x <= 0:
return 1
return x * factorial(x - 1)